package com.grape.transaction.lcn.producer.controller;

import com.grape.transaction.lcn.producer.service.ProducerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 描述:ConsumerController
 * @author: myx
 * @date: 2019/7/31 0031
 * Copyright © 2019-grape. All rights reserved.
 */
@RestController
@RequestMapping("user")
public class ProducerController {
    @Autowired
    ProducerService producerService;

    @GetMapping
    public void addUser(String i){
        producerService.addUser(i);
    }
}
